package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.OrderDO;
import com.sdleyou.treepro.common.model.vo.OrderVO;
import org.springframework.beans.BeanUtils;

public class OrderDO2OrderVOConverter {

    public static OrderVO convert(OrderDO orderDO) {
        OrderVO orderVO = new OrderVO();
        BeanUtils.copyProperties(orderDO, orderVO);
        return orderVO;
    }

}
